package com.jinmdz.fmis.mapper.entity;

import com.jinmdz.fmis.mapper.annotation.MyColumn;
import com.jinmdz.fmis.mapper.annotation.MyTable;
import com.jinmdz.fmis.mapper.base.BaseEntity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 费用退费表Entity
 *
 * @author generator
 * @date 2020-05-12 14:24
 */
@MyTable(value = "ChargeRefundEntity", name = "charge_refund", comment = "费用退费表")
public class ChargeRefundEntity extends BaseEntity {
    /**
     * 业务编码
     */
    @MyColumn(value = "businessCode", name = "business_code", comment = "业务编码", required = true)
    private String businessCode;

    /**
     * 被退费费用外键
     */
    @MyColumn(value = "chargeItemId", name = "charge_item_id", comment = "被退费费用外键", required = true)
    private Integer chargeItemId;

    /**
     * 退费金额
     */
    @MyColumn(value = "refundCharge", name = "refund_charge", comment = "退费金额", required = true)
    private BigDecimal refundCharge;

    /**
     * 退费负费用外键
     */
    @MyColumn(value = "refundMinusId", name = "refund_minus_id", comment = "退费负费用外键", required = true)
    private Integer refundMinusId;

    /**
     * 退费新费用外键
     */
    @MyColumn(value = "refundNewId", name = "refund_new_id", comment = "退费新费用外键")
    private Integer refundNewId;

    /**
     * 退费时间
     */
    @MyColumn(value = "refundTime", name = "refund_time", comment = "退费时间", required = true)
    private Date refundTime;

    /**
     * 备注信息
     */
    @MyColumn(value = "remark", name = "remark", comment = "备注信息")
    private String remark;


    public String getBusinessCode() {
        return businessCode;
    }

    public ChargeRefundEntity setBusinessCode(String businessCode) {
        this.businessCode = businessCode;
        return this;
    }

    public Integer getChargeItemId() {
        return chargeItemId;
    }

    public ChargeRefundEntity setChargeItemId(Integer chargeItemId) {
        this.chargeItemId = chargeItemId;
        return this;
    }

    public BigDecimal getRefundCharge() {
        return refundCharge;
    }

    public ChargeRefundEntity setRefundCharge(BigDecimal refundCharge) {
        this.refundCharge = refundCharge;
        return this;
    }

    public Integer getRefundMinusId() {
        return refundMinusId;
    }

    public ChargeRefundEntity setRefundMinusId(Integer refundMinusId) {
        this.refundMinusId = refundMinusId;
        return this;
    }

    public Integer getRefundNewId() {
        return refundNewId;
    }

    public ChargeRefundEntity setRefundNewId(Integer refundNewId) {
        this.refundNewId = refundNewId;
        return this;
    }

    public Date getRefundTime() {
        return refundTime;
    }

    public ChargeRefundEntity setRefundTime(Date refundTime) {
        this.refundTime = refundTime;
        return this;
    }

    public String getRemark() {
        return remark;
    }

    public ChargeRefundEntity setRemark(String remark) {
        this.remark = remark;
        return this;
    }
}